'use strict';

const Controller = require('egg').Controller;
class goodsController extends Controller {
  async findGoods() {
    const {ctx} = this;
    const data = await this.ctx.service.goods.findGoods(ctx.request.body);
    this.ctx.body = data
  }
}

module.exports = goodsController;
